package com.jhws.business.comm.dao;
import java.math.BigInteger;
import java.util.List;

import com.jhws.business.comm.bo.TblBuildingDimBo;
import com.jhws.common.Page;

public interface ITblBuildingDimDAO
{
	public abstract TblBuildingDimBo getById(String BuildingCode);

	public abstract TblBuildingDimBo getTblBuilding(TblBuildingDimBo bo);
	
	public abstract Page findTblBuildingDim(int start, int num, String whereClause)
			throws Exception;
	
	public abstract TblBuildingDimBo save(TblBuildingDimBo bo);

	public abstract List<TblBuildingDimBo> findTblBuildingDimByWhere(String whereClause) throws Exception;

	List findTblBuildingDimBySelectWhere(String select,String whereClause) throws Exception;

	public abstract void deleteTblBuildingDim(String buildingCode);
	
	public abstract void deleteTblBuildingDimByComm(String CommCode);
	
	public abstract int getBuildingCountByComm(String comm);

	public abstract BigInteger getMaxBuildingNum(String commCode);
}
